* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font: bold 20px 'Courier';
}
#main {
  position: relative;
  width: 360px;
  height: 420px;
  background-color: #B7D4A9;
  margin: 100px auto;
  border: 10px solid black;
  border-radius: 40px;
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: space-between;
}
#main #stage {
  position: relative;
  width: 304px;
  height: 304px;
  border: 2px solid black;
  margin-top: 20px;
}
#main #stage #snake > div {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: black;
  border: 1px solid #B7D4A9;
}
#main #stage #snake > div:nth-child(1) {
  background-color: red;
}
#main #stage > #food {
  position: absolute;
  width: 10px;
  height: 10px;
  left: 40px;
  top: 100px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-content: space-between;
}
#main #stage > #food > div {
  width: 4px;
  height: 4px;
  background-color: black;
  transform: rotate(45deg);
  background-color: #5d5d5d;
}
#main #score-panel {
  width: 300px;
  display: flex;
  justify-content: space-between;
}
#main #startGame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 35px;
  line-height: 35px;
  padding: 0px 5px;
  z-index: 999;
}
